how to use json datatype in postgresql concat